//
//  ViewControllerVM.h
//  iOS实战
//
//  Created by clz on 2019/10/26.
//  Copyright © 2019 clz. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BannerModel.h"
#import "HotCourseModel.h"
#import "ActivityModel.h"
#import "NewsModel.h"
#import "FunctionModel.h"


NS_ASSUME_NONNULL_BEGIN

@interface ViewControllerVM : NSObject

@property(nonatomic,strong)NSMutableArray <BannerModel*>* bannerList;

@property(nonatomic,strong)NSMutableArray <FunctionModel*>* functionList;

@property(nonatomic,strong)NSMutableArray <HotCourseModel*>* hotCourseList;

@property(nonatomic,strong)NSMutableArray <ActivityModel*>* activityList;

@property(nonatomic,strong)NSMutableArray <NewsModel *>*newsList;


- (void)requestDataWithSuccess:(void(^)(void))success failure:(void(^)(NSString *errorMessage))failure;

@end

NS_ASSUME_NONNULL_END
